package com.hvgroup.modules.dify.service;

import com.hvgroup.modules.dify.service.dto.AppsDto;
import com.hvgroup.modules.dify.service.dto.AppsQueryCriteria;
import com.hvgroup.modules.dify.service.dto.AppQueryCriteria;
import com.hvgroup.utils.PageResult;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

public interface DifyAppService {

    PageResult<AppsDto> queryAll(AppQueryCriteria criteria, Pageable pageable);

    Map<String, List<AppsDto>> queryGroupApps(AppsQueryCriteria criteria);

    Map<String, List<AppsDto>> queryGroupApps2(AppsQueryCriteria criteria);

    List<Map<String, String>> queryPlatform();

}
